-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support '--maximum-failed-tests' to abort test run when failure threshold is reached #4238
Conversation
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Hosts/TestHostBuilder.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Hosts/TestHostBuilder.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/OutputDevice/OutputDeviceManager.cs
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Services/PoliciesService.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Services/TestApplicationResult.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor updates but looking great overall! Nice job here @Youssef1313
src/Platform/Microsoft.Testing.Platform/CommandLine/MaxFailedTestsCommandLineOptionsProvider.cs
Outdated
Show resolved
Hide resolved
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work here @Youssef1313. Let's merge and do a potential follow-up for https://github.com/microsoft/testfx/pull/4238/files#r1878337032
Fixes #3496